@blue-color: #58CA7E;
@grey-color: #dddddd;
@yellow-color: #ffb400;
@grey-font: #383839;


html, body {
  margin: 0 0;
}


#main {
  margin: 0 0;
}

#login {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: @blue-color;
  background-image: url('../../res/images/823682_20160119135635651149_1.jpg');
  background-size: cover;
  h1 {
    text-align: center;
    margin-top: 50px;
    color: #ffffff;
  }
  .contact-form {
    width: 400px;
    height: 200px;
    margin: 100px auto;
    text-align: center;
    input {
      width: 80%;
      height: 50px;
      margin-top: 20px;
      margin-bottom: 20px;
      font-size: 25px;
      text-align: center;
      border-radius: 10px;
      border-style: none;
      border-color: @grey-color;
      opacity: 0.7;
    }
    input:focus {
      outline: none;
      opacity: 0.9;
    }
    input[type='button'] {
      cursor: pointer;
      border-style: none;
    }
    input[type='button']:hover {
      background-color: @yellow-color;
    }
  }
}

#defaultPage {
  width: 100%;
  height: 100%;
  background-color: #efefef;
  .preloader {
    position: absolute;
    margin-left: -55px;
    margin-top: -100px;
    height: 110px;
    width: 110px;
    left: 50%;
    top: 50%;
  }

  svg {
    width: 110px;
    height: 110px;
  }

  path {
    stroke: #9ea1a4;
    stroke-width: 0.25;
    fill: #241E20;
  }

  #cloud {
    position: relative;
    z-index: 2;
  }

  #cloud path {
    fill: #efefef;
  }

  #sun {
    margin-left: -10px;
    margin-top: 6px;
    opacity: 0;
    width: 60px;
    height: 60px;
    position: absolute;
    left: 45px;
    top: 15px;
    z-index: 1;
    animation-name: rotate;
    animation-duration: 16000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  #sun path {
    stroke-width: 0.18;
    fill: #9ea1a4;
  }

  @keyframes rotate {
    0% {
      transform: rotateZ(0deg);
    }
    100% {
      transform: rotateZ(360deg);
    }
  }
  /* Rain */
  .rain {
    position: absolute;
    width: 70px;
    height: 70px;
    margin-top: -32px;
    margin-left: 19px;
  }

  .drop {
    opacity: 1;
    background: #9ea1a4;
    display: block;
    float: left;
    width: 3px;
    height: 10px;
    margin-left: 4px;
    border-radius: 0px 0px 6px 6px;
    animation-name: drop;
    animation-duration: 350ms;
    animation-iteration-count: infinite;
  }

  .drop:nth-child(1) {
    animation-delay: -130ms;
  }

  .drop:nth-child(2) {
    animation-delay: -240ms;
  }

  .drop:nth-child(3) {
    animation-delay: -390ms;
  }

  .drop:nth-child(4) {
    animation-delay: -525ms;
  }

  .drop:nth-child(5) {
    animation-delay: -640ms;
  }

  .drop:nth-child(6) {
    animation-delay: -790ms;
  }

  .drop:nth-child(7) {
    animation-delay: -900ms;
  }

  .drop:nth-child(8) {
    animation-delay: -1050ms;
  }

  .drop:nth-child(9) {
    animation-delay: -1130ms;
  }

  .drop:nth-child(10) {
    animation-delay: -1300ms;
  }

  @keyframes drop {
    50% {
      height: 45px;
      opacity: 0;
    }
    51% {
      opacity: 0;
    }
    100% {
      height: 1px;
      opacity: 0;
    }
  }
  .text {
    font-family: Helvetica, 'Helvetica Neue', sans-serif;
    letter-spacing: 1px;
    text-align: center;
    margin-left: -43px;
    font-weight: bold;
    margin-top: 20px;
    font-size: 11px;
    color: #a0a0a0;
    width: 200px;
  }
}

#ad-nav {
  margin-bottom: 20px;
}

#news{
  position: relative;
  #add-n {
    position: absolute;
    top: 5%;
    right: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .8);
    z-index: 11;
    padding: 5em 0;
    text-align: center;
    border-radius: 20px;
    textarea {
      resize: none;
    }
  }
}

#manager, #join {
  .addManager {
    margin-bottom: 20px;
  }
  .list {
    color: @grey-font;
    margin-top: 10px;
    border: 1px solid @grey-color;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    .top-line {
      padding-top: 10px;
      background-color: @grey-color;
    }
    .delete {
      margin-left: 5px;
    }
  }

  .detail {
    padding: 15px;
    .thumbnail {
      margin-bottom: 0;
    }
  }

}

#join {
  .addManager {
    margin-bottom: 0;
  }

}